# -*- coding: utf-8 -*-
# import os
# import BiliBiliApi
# from pymongo import MongoClient
import requests,json

# # av = '79412231'
# client = MongoClient('47.102.136.23',27017)
# dbs = client.list_database_names()
# print(dbs)

bv = 'BV1rz411e7UW'
print(bv[:2])
result = requests.get('https://api.bilibili.com/x/player/pagelist?bvid=' + bv).json()
print(result['data'][0]['cid'])